Fixed so that objects are not recompiled everytime.