Small plugin API used to assist plugin development