Added special handling for answer environments.