Switch from static to instance implementation.
Add mod API type.