Typechecks instead of magic strings