Removing grid dependency from package