Implemented ClassName::toRelative(). Closes #7.