Generalize feature methods to work in any context