Clean up framework hooks