Removed hooks registration and replaced package.

What was I thinking in #5 ?  Rewriting /c seems like a stupid idea.