Bug fix for constructor type.