Added an initial typedef for the method callback.

The title.

Resolves [half of] #28