Supress deprecation warning block.getData