Add coercion for pt units

fixes #1348