Added fireOnDirection option.