Cleaning up boilerplate with a prism