defineVirtualAttributes