Fixing bug with appending to existing API