Create class and pipe for object functions.