Set default properties through prototype.