Make custom attributes sealed

For performance reasons