Added role enum for easier role handling.