Be more specific with compose-middleware's return value