Move some logic to ReflectionDocblock