Moved features hooks into include files.