Removed unused code in constructor