Coding style fixes

Signed-off-by: Michal Čihař <michal@cihar.com>
Share capabilities array

Signed-off-by: Michal Čihař <michal@cihar.com>
Wrap long lines

Signed-off-by: Michal Čihař <michal@cihar.com>
Fix param name

Signed-off-by: Michal Čihař <michal@cihar.com>
Better wrapping

Signed-off-by: Michal Čihař <michal@cihar.com>
Prefix private method with _

Signed-off-by: Michal Čihař <michal@cihar.com>
Wrap long lines

Signed-off-by: Michal Čihař <michal@cihar.com>