hooks for other extensions.