It appears the current code only detects properties. It would be great if it could detect methods as well.