Added declaring type for constructors