Minor change to support hash argument.