Knowledge Preconditions for Actions and Plans