Implement proxy class methods caching.

Now we have a proxy classes with the methods predefined to prevent
tons of `method_missing` calls.