It looks like it is intended to come out as an entire unit. Remove the chain, remove the cap screws and pull it out. Then you can get at the circlip to remove the shaft then the bearings.