Add stubs for parameterised Java Function classes