Remove obsolete method

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Fix indentation

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Suffix files containing classes with .class.php file extension

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>