Add rsm enum support