Removed undefined MessageFactory type CustomValueReply; Fixed invalud subroutine calls for getTypeValue