Added deprecation message for use of parent in new type