Clean up role casting and throw an error if we can't find the role