Further implementing classes from JS prototype.