Support offset properties.  Clean up _transform() function.