Changed code style to PSR-2