Removed unnecessary registers