issue #2244:Add some constructor