Capability-Based Planning