Fixed wrong method call
Coding style fixes.