THere should be info on how a serviceresource object relates to actual actions.
These resource objects add a process step whenever their functions are called.
A ProcessStep object contains multiple variables such as start and stop.
Our guess is that if you want a resource with a "shake" function, you need to implement a wrapper that has a start_shake and stop_shake function.