Minor fix

Removed extra spaces and cleaned up code. GitHub added extra spaces
after the capabilities array.