Fixed an include and added a function to get the indirect address.