Do not call module functions if they are null