Decorate deprecated API