Move @pushToRegistry to the ctor