Fixed class change. Detached entity.