Remove unnecessary auto-generated code
Add mock implementation of Adapter class