Virtual persistable attributes made easy