Adding respond_to? method