Move class field access to classes module