Bringing in some model classes from Heartbeat.