Add class implements interface function