Fix setup method-missing behavior
Add specs for Setup#[]
Simplify setup and remove redundant code