Removing warnings/errors for missing returns