Added simple sub-to-core and core-to-sub functionality.