Initial capsule build API (especially useful for plugins writers)