Fixes a performance issue when backtesting with sqlalchemy, as that uses descriptors for all properties.