Fixed use of globals and dependencies in the public abstract definition.