Implemented transform context. Closes #12.