Updated for Qi4j SDK 2.0