Fixed a minor issue with how objects work.