Removed redundant returns

`return nil` is called at the end of the function no matter the output - no need to have it on each case.