Added /inputs and /outputs handler.