Enable features and fix warning