Change scope syntax to class properties instead of nested arrays

Signed-off-by: Fadion Dashi <jonidashi@gmail.com>