Fixed bug with hiding copy constructor and assignment operator