(refactor) Refactored to use try!
(refactor) Refactored to use FromStr.
(feat) Completed after for Middleware.