Removed unsafe usese of this.subviews and changed them to this.getSubviews().