Added slug parameter type, polished a little the other ones