Accept strings as well