Add compile bindings

and remove needless binding
Remove needless require
Remove needless hook