make getObjects public as this fatals on the server