Refactor manager to allow varargs for callbacks