Fixup some annoying missing return warnings. Always return null(as functions with no return do in PHP).