Add requirements and other variables from attributes