Removed unnecessary blocks.