Base module with common hooks.