Fixed failing tests in PHP v5.3, removed unnecessary getter methods