Fixed class objects and constructor