Fix indentation, code style and accessors

Fix indentation

Forgot to indent using spaces