Fix templated razor