method params should have type hinting (see issue #286)