Block constructor methods in prototype