Sword depends on api module