[cleanup] Updated deprecated method call
[cleanup] Applied codestyle