Made shared module GWT compatible.