Constructor should be on prototype, not function.