Disclosed embodiments are related to mitigating leaks in membranes and/or improving the selectivity of membranes.