Opening/closing properties works correctly