Add catMaybesM and concatM helper functions.