Removing constructor from container