Merged fmin wrapper back into utils.