Inject diretly apam instances