Bug: removed useless code.