Added AbstractEntity convenience class