Add all callbacks and functions