Adding virtual attribute support