remove functions on constructors