Add more helpful plugin API