Trim down to just the essential methods

The are a lot of errors with the generated invoke code that need to be
identified and fixed. It's better to start with a smaller subset.