rename target > api and _target > shared in module defs