Issue #2277045 by Grimreaper, izus: Correct some code styling and use parent setup for group attribute.