This stuff executes at boot, so speed is important. Calling ModelNode.asProperty() is fairly expensive, so please cache the result if you are going to reuse it like you do at L106.