Fix for issue #12 (class function signature)