Adding skeleton of Python callbacks.