Began writing hooks for modularity.