Added missing return in getFeature() method.