refactor to make a reusable Register.get_task_cls

str already has human readability connotations in Python, https://docs.python.org/2/library/functions.html#str