Added wrap for AsynchronousTask methods

It wont produce NPE anymore