Adds attributes to check functions