bugfix: take private methods into account when checking for callbacks #197