Fix prototype constructor.