Removed unnecessarily code.