Update object.php - Solves issue #124