Implemented various functions and return values in our types