Fixed a couple of api pathing issues.