Define methods in swift, objC wrapper classes