Drawing of objects now handled by methods in their prototype