Define constructors properly