Fix compiler error, wasn't calling static instance function correctly