Issue #1325746 and Issue #1343050 by rfay: Move hook_enable() to .install and replace bad API calls there.