Add apply method to engines
Cleanup
Inline docs for api descriptor
Simplify example