have IntegerProperty accept longs too