Removed unnecessary register calls