Added withMethods().
Introduced type converters.