Entity definition. Used by various magnetfruit programs.