Generalized to use Alchemy.user_class instead of hardcoding.