Gaining more control over fuel cell membranes