Updated API def