minor cleanup: remove unused import
minor code improvement in LiteralAgentParser

possible because Fail is in api now