Added API. Use hardAPI for hard dependency, softAPI for soft dependency.