Renamed attr from callback to oncomplete