Added coerce method to hide how we handle types.
Trying to get angular resouces working.