Added support for require/include dependencies in class methods.

Required/included files are only copied, not parsed for other dependencies.