Corrected curly brace on new lines coding style issues (where I had accidently missed them from the last commit), also removed the type cast on setBaseApiUrl() methods.