Was unnecessarily using specialized version of a function