Notes about prototypes and object creation patterns