Allow for method callbacks for accessible trait.

Closes #1.