Fix error when class has callbacks but no manual methods.

Fixes KeyError when a class has callbacks but no "manual methods."