Tidies up code
Merge branch 'fix/cleanup' into develop

* fix/cleanup:
  Tidies up code