Change this to use the other PHP return object format.