Embedded type support
Merge branch 'feature/embedded-type'

Added support for embedding schemas, castable objects, and cast function
types.